package com.task.mall.bean;

/**
 * 用于管理员登录后在网页右上角显示nickName类
 */
public class Login {

    private Integer code;

    private String token;

    private String name;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getNickName() {
        return name;
    }

    public void setNickName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Login{" +
                "code=" + code +
                ", token='" + token + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
